import request from '@/utils/request'
import { ResultListRecruitProcessVo, DeepRequired } from '../../interface'

/**
 * 获取hr的招聘流程
 * /recruitProcess/getrecruitProcess/{id}
 */
export function getRecruitProcessGetrecruitProcessById(
  params: GetRecruitProcessGetrecruitProcessByIdParams,
) {
  return request.get<DeepRequired<ResultListRecruitProcessVo>>(
    `/recruitProcess/getrecruitProcess/${params.id}`,
  )
}

interface GetRecruitProcessGetrecruitProcessByIdParams {
  id: number
}
